<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>需求实现池</title>
    <script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.5.1.min.js"></script>
    <script>
        $(function(){
            $('#btn1').click(function () {
                beginDate = $('#beginDate').val();
                endDate = $('#endDate').val();
                location.href='/down_excel1/' + beginDate + '/' + endDate;
            })
            $('#btn2').click(function () {
                beginDate = $('#beginDate').val();
                endDate = $('#endDate').val();
                location.href='/down_excel2/' + beginDate + '/' + endDate;
            })
            $('#btn3').click(function () {
                beginDate = $('#beginDate').val();
                endDate = $('#endDate').val();
                location.href='/down_excel3/' + beginDate + '/' + endDate;
            })
        })

    </script>

</head>

<body>
<div>
    <p>请输入查询日期范围：</p>
    查询开始日期:
    <input type="text" name="beginDate" id="beginDate" value="{{ beginDate }}"> <br>
    查询结束日期:
    <input type="text" name="endDate" id="endDate" value="{{ endDate }}"><br>
</div>

<div style="padding-top: 30px">
    <button id="btn1">下载需求1报表</button><br>
    <button id="btn2">下载需求2报表</button><br>
    <button id="btn3">下载需求3报表</button><br>
</div>

</body>
</html>